﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using Furion;
using Furion.DependencyInjection;
using Microsoft.Extensions.DependencyInjection;

namespace WpfApp2
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : Application
    {
        public App()
        {
            var service = Inject.Create();
            service.Build();
        }


        public interface IHelloService
        {
            string SayHello();
        }

        public class HelloService : IHelloService, ITransient
        {
            public string SayHello()
            {
                return "hello";
            }
        }
    }
}
